package com._9xcloud.leaverequest.repository;


import com._9xcloud.leaverequest.domain.Student;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Set;

/**
 * Created by hyq on 2015/5/11.
 */
public interface StudentRepository extends JpaRepository<Student, Integer> {
    Student findByUsername(String username);

    Set<Student> findByFullNameLike(String fullName);

    Set<Student> findByClazzId(int clazzId);
}
